// pages/logistics/logistics.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    backgroundColor: "#EB0909",
    list:[],
    id:0
  },
  onLoad(options) {
    this.setData({
      id:options.id
    })
    this.load()
  },
  async load(){
    let res=await wx.util.post("order/log",{id:this.data.id});
    this.setData({
      list:res.data
    })
  }
})